package com.shangxian.giveithome.entity;

import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
public class RoleUser {

    @NotNull(message = "用户id不能为空")
    private Long id;

    @NotNull(message = "角色不能为空")
    private Integer role;
}
